package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author ZhouS
 * @CreateDate 2022-05-31
 * @Description:
 */
@TableName("show_product_sales")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductSales extends BaseEntity {

    /**主键**/
    @TableId(value = "base_id",type = IdType.ASSIGN_UUID)
    private String baseId;
    /**产品id**/
    private String productId;
    /**网上订购**/
    private Integer onlineOrder;
    /**网上订购**/
    private String  unit;
    /**可售数量**/
    private Integer number;
    /**价格**/
    private Integer price;
}
